import 'package:cook_dinner/pages/home/home_view/home_baner.dart';
import 'package:cook_dinner/pages/home/home_view/home_cook.dart';
import 'package:cook_dinner/pages/home/home_view/home_fish.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:cook_dinner/config/include.dart';

class HomePage extends StatefulWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SingleChildScrollView(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: const [
            HomeBanner(),
            HomeCook(),
            HomeTitle(),
            HomeFish(),
            HomeTitle(
              title: '今日推荐',
              buns: false,
            ),
            Recommended(),
          ],
        ),
      ),
    );
  }
}
